namespace QuotationApproval {
  export interface SearchForm extends Base.Pagination {
    companyIdList: string[];
    beforePageNum: number;
    waybillNums: string;
    customerName: string;
    accountPeriodIdList: [];
    customerIdList: string[];
    orderByList?: OrderByList[];
  }
  export interface SearchParams {
    companyIdList: string[];
    pageNum: number;
    pageSize: number;
    beforePageNum: number;
    state: number;
    waybillNums: string[];
    customerName: string;
    accountPeriodIdList: number[];
    customerIdList: string[];
    orderByList?: OrderByList[];
  }

  export type ListRows = {
    shipmentId: string;
    orderShipmentQuotationId: number;
    state: number;
    waybillNum: string;
    customerName: string;
    addressType: number;
    channelId: number;
    channelName: string;
    itemNumber: number;
    actualWeight: number;
    volumeWeight: number;
    settlementWeight: number;
    squaresNumber: number;
    bizId: number;
    bizName: string;
    materialQualityId: string;
    materialQualityName: string;
    productName: string;
    remark: string;
    innerRemark: string;
    depositTime: string;
    totalNormFreightPrice: number;
    totalFreightPrice: number;
    totalAdjustPrice: number;
    totalAppendCostPrice: number;
    totalPrice: number;
  };
  export interface exportParams extends SearchParams {
    list?: ListRows[];
  }
  export interface ApprovalParams {
    id: number | undefined;
    state: number;
    refuseType: number | undefined;
    refuseReason: string | undefined;
  }

  type OrderByList = {
    order: string;
    sort: string;
  };
}
